package com.lh.tams.domain;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.lh.tams.util.diy.CustomDateSerializer;

/**
 * TamsCommon entity. @author MyEclipse Persistence Tools
 */

public class TamsCommon implements java.io.Serializable {

	// Fields

	public int getIsRegister() {
		return isRegister;
	}

	public void setIsRegister(int isRegister) {
		this.isRegister = isRegister;
	}

	private long idBgt;
//	private TamsDept tamsDept;
//	private TamsPerson tamsPerson;
	private String caseNo;
//	private Date caseDate;
//	private String caseAddress;
//	private String caseContent;
//	private Date registerDate;
	/** 督办日期，另外的功能 */
	private Date urgeDate;
	/** 立案是否完成*/
	private int isRegister;
	/** 是否鉴定*/
	private int sureIdentify;
	/** 鉴定是否完成*/
	private int isIdentify;
	/** 认定是否完成 */
	private int isConfirm;
	/** 调解是否完成 */
	private int isDeal;
	/** 结案是否完成 */
	private int isClose;
	/** 归档是否完成*/
	private int isRecord;
	/** 一般处理开始时间*/
	private Date createDate;
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	private String remark;

	// Constructors

	public int getSureIdentify() {
		return sureIdentify;
	}

	public void setSureIdentify(int sureIdentify) {
		this.sureIdentify = sureIdentify;
	}

	public int getIsIdentify() {
		return isIdentify;
	}

	public void setIsIdentify(int isIdentify) {
		this.isIdentify = isIdentify;
	}

	/** default constructor */
	public TamsCommon() {
	}

	/** minimal constructor */
	public TamsCommon(long idBgt) {
		this.idBgt = idBgt;
	}

	/** full constructor */
	public TamsCommon(long idBgt, String caseNo, 
			Date urgeDate, int isConfirm, int isDeal, int isClose,
			int isRecord, String remark) {
		this.idBgt = idBgt;
//		this.tamsDept = tamsDept;
//		this.tamsPerson = tamsPerson;
		this.caseNo = caseNo;
//		this.caseDate = caseDate;
//		this.caseAddress = caseAddress;
//		this.caseContent = caseContent;
//		this.registerDate = registerDate;
		this.urgeDate = urgeDate;
		this.isConfirm = isConfirm;
		this.isDeal = isDeal;
		this.isClose = isClose;
		this.isRecord = isRecord;
		this.remark = remark;
	}

	// Property accessors

	public long getIdBgt() {
		return this.idBgt;
	}

	public void setIdBgt(long idBgt) {
		this.idBgt = idBgt;
	}

//	public TamsDept getTamsDept() {
//		return this.tamsDept;
//	}
//
//	public void setTamsDept(TamsDept tamsDept) {
//		this.tamsDept = tamsDept;
//	}
//
//	public TamsPerson getTamsPerson() {
//		return this.tamsPerson;
//	}
//
//	public void setTamsPerson(TamsPerson tamsPerson) {
//		this.tamsPerson = tamsPerson;
//	}

	public String getCaseNo() {
		return this.caseNo;
	}

	public void setCaseNo(String caseNo) {
		this.caseNo = caseNo;
	}
	
//	public String getCaseAddress() {
//		return this.caseAddress;
//	}
//
//	public void setCaseAddress(String caseAddress) {
//		this.caseAddress = caseAddress;
//	}
//
//	public String getCaseContent() {
//		return this.caseContent;
//	}
//
//	public void setCaseContent(String caseContent) {
//		this.caseContent = caseContent;
//	}
//
//	public Date getCaseDate() {
//		return caseDate;
//	}
//
//	public void setCaseDate(Date caseDate) {
//		this.caseDate = caseDate;
//	}
//
//	public Date getRegisterDate() {
//		return registerDate;
//	}
//
//	public void setRegisterDate(Date registerDate) {
//		this.registerDate = registerDate;
//	}
	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getUrgeDate() {
		return urgeDate;
	}

	public void setUrgeDate(Date urgeDate) {
		this.urgeDate = urgeDate;
	}

	public int getIsConfirm() {
		return this.isConfirm;
	}

	public void setIsConfirm(int isConfirm) {
		this.isConfirm = isConfirm;
	}

	public int getIsDeal() {
		return this.isDeal;
	}

	public void setIsDeal(int isDeal) {
		this.isDeal = isDeal;
	}

	public int getIsClose() {
		return this.isClose;
	}

	public void setIsClose(int isClose) {
		this.isClose = isClose;
	}

	public int getIsRecord() {
		return this.isRecord;
	}

	public void setIsRecord(int isRecord) {
		this.isRecord = isRecord;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}